package com.camel.base.feign;

import com.camel.core.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.io.Serializable;

/**
 * @author 86183
 *
 */
@FeignClient(value = "system", path = "system", contextId = "user")
public interface SysUserService {

    /**
     * 查询用户列表
     *
     * @param ids
     * @return
     */
    @GetMapping("/sysUser/list")
    Result list(@RequestParam("ids") Serializable ids);


    /**
     * 查询用户详情
     *
     * @param id
     * @return
     */
    @GetMapping("/sysUser/get")
    Result detail(@RequestParam("id") Serializable id);
}
